<button class="btn btn-outline-info" (click)="adduser()">添加</button>
<table class="table table-hover table-active">
  <tr>
    <th>序号</th>
    <th>账号</th>
    <th>姓名</th>
    <th>性别</th>
    <th>身份证</th>
    <th>角色</th>
    <th>电话</th>
    <th>邮箱</th>
    <th>所属部门</th>
    <th>添加时间</th>
    <th>操作</th>
  </tr>
<tr *ngFor="let d of userList let i = index">
  <td>{{i+1}}</td>
  <td>{{d.account}}</td>
  <td>{{d.perName}}</td>
  <td>{{d.sexCode===1?'男':'女'}}</td>
  <td>{{d.citID}}</td>
  <td>{{d.role===1?'领导':'员工'}}</td>
  <td>{{d.mobile}}</td>
  <td>{{d.email}}</td>
  <td>{{d.department.name}}</td>
  <td>{{d.addDateTime|date:"yyyy-MM-dd hh:mm:ss"}}</td>
  <td>
    <button class="btn btn-outline-info">编辑</button>
    <button class="btn btn-outline-danger" (click)="delme(d.id)">删除</button>
  </td>
</tr>
</table>
